package com.streamer.app.bean

import java.io.Serializable

data class LiveBean(
    val appName: String,
    val id: String,
    val interstitialVideoUrl: List<Item>,
    val isActiveteTippingEnabled: Boolean,
    val isAppointment: Boolean,
    val isCommentAuditEnabled: Int,
    val isCoursewareEnabled: Int,
    val isInteractionEnabled: Int,
    val isIntroductionEnabled: Int,
    val isRecordingEnabled: Int,
    val isReplayEnabled: Int,
    val isSalesMessageSendingEnabled: Int,
    val isSpecialEffectsEnabled: Boolean,
    val isYellowCarEnabled: Boolean,
    val liveAssistantRelationIds: Any,
    val liveConfig: LiveConfig,
    val liveCourseware: Any,
    val liveCoverImage: String,
    val liveDescription: Any,
    val liveDetails: String,
    val liveEndTime: Any,
    val liveMode: Int,
    val liveName: String,
    val livePlatformIds: String,
    val liveRoomNo: String,
    val liveStartTime: String,
    val useState: Int,
    val liveType: Int,
    val liveUserViewRelationIds: Any,
    val playLiveUrl: String,
    val playM3u8Url: String,
    val pushLive3PUrl: String, //辅助推流地址
    val pushLiveUrl: String,
    val replayLimitedTime: List<List<Any>>,
    val replayPassword: Any,
    val replayValidityType: Int,
    val riskAlertContent: Any,
    val riskAlertType: Int,
    val isItemPriceEnabled: Boolean, //显示价格开关
    val isItemSoldNumEnabled: Boolean, //显示销量开关
    val streamName: String,
    val liveCommonConfig: liveCommonConfig,
    val viewingTemplate: Int //观看模板 1:三分屏, 2:纯视频模板, 3:PPT三分屏
): Serializable

data class liveCommonConfig(
    val createDept: String,
    val createBy: String,
    val createTime: String,
    val updateBy: String,
    val updateTime: String,
    val params: Any,
    val displayMode: Any,
    val displayFontSize: Any,
    val displayFontColour: Any,
    val displayScrollSpeed: Any,
    val displayTransparency: Any,
//displayMode     方向
    //displayFontSize  字体大小
    //displayFontColour  颜色
    //displayScrollSpeed 速度
    //displayTransparency 透明度
): Serializable

data class LiveConfig(
    val displayFontColour: String,
    val displayFontSize: Int,
    val displayMode: Int,
    val displayScrollSpeed: Int,
    val displayTransparency: Int,
    val guideDesc: Any,
    val guideTitle: Any,
    val id: String,
    val isCouponEnabled: Boolean,
    val isGiftEnabled: Boolean,
    val isLiveScheduleEnabled: Boolean,
    val isPayForwordEnabled: Boolean,
    val isPointsRuleEnabled: Boolean,
    val isPrizeDrawEnabled: Boolean,
    val isRiskAlertEnabled: Boolean,
    val isWpNoticeEnabled: Boolean,
    val liveAppointmentDeadline: Any,
    val liveGift: Any,
    val liveId: String,
    val liveInvitationReward: Any,
    val liveNoticeTime: Any,
    val liveScheduleBgMedia: Any,
    val liveWatchReward: Any,
    val qrCode: Any,
    val qrCodeType: Any,
    val riskAlertContent: String,
    val virtualUserCountConfig: VirtualUserCountConfig
): Serializable

data class VirtualUserCountConfig(
    val rate: Int,
    val virtualUserCount: Int
):Serializable

data class Item(
    val id: String,
    val type: Int,
    val name: String,

):Serializable